<?php
declare (strict_types = 1);
namespace app\admin\controller;

//use app\admin\middleware\Test;
use app\BaseController;
use think\Request;

class Index extends BaseController
{
	//protected $middleware = [Test::class];
    public function index(Request $request)
    {
        //return md5('admin888');
        return password_hash('7fef6171469e80d32c0559f88b3772450',PASSWORD_DEFAULT);
		//return $request->testa;
    }

    public function hello($name = 'ThinkPHP8')
    {
        return 'hello,' . $name;
    }
}
